package cn.bdqn.services.dept.service;

import cn.bdqn.model.pojo.Menu;
import cn.bdqn.model.pojo.Role;
import cn.bdqn.model.pojo.SysUserinfo;

import java.util.List;

/**
 * @Author 徐凤年
 * @Date 2022/3/31 14:07
 * @Version 1.0
 */
public interface SysUserinfoService {
    List<SysUserinfo> getList();
    SysUserinfo login(String username, String password);
    SysUserinfo selectId(int id);
    List<Role> getRoleListUser(int uid);
    List<Menu> getMenRoleList(String[] roles);
    int grantUser(int uid,int[] rids);
    int deleteId(int uid);
}
